package com.wish.g1.house.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Data;

/**
 * <p>
 * 房源表和字典表 关联表
 * </p>
 *
 * @author mayingchao
 * @since 2022-11-18
 */
@Data
@TableName("tb_house_type_middle")
public class HouseTypeMiddle implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 房源id
     */
    private Integer houseId;

    /**
     * 字典表里的类型id
     */
    private Integer typeId;


}
